/**
 * DistrictMapper.java 
 * Copyright © 2015-3015, 杭州泊享网络科技有限公司
 * 
 * @author Liu Tao
 * @create 2013年8月14日
 */
package com.pshare.artemis.basic.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.pshare.artemis.basic.bean.Landmark;
import com.pshare.framework.mapper.SqlMapper;

@Repository
public interface LandmarkMapper extends SqlMapper {

	public List<Landmark> queryAll();
	
	public List<Landmark> queryByDistrictId(int distrctId);
	
	public int getCount(@Param("distrctId") int distrctId, @Param("name") String name);
	
	public void add(@Param("distrctId") int distrctId, @Param("name") String name);
	
	public void getName(int landmarkId);
	
}
